package com.cmc.cloud.cmclink.doc.service;

import javax.validation.Valid;

import com.cmc.cloud.cmclink.doc.entity.SpecialCargoRejectReasonDO;
import com.cmc.cloud.cmclink.doc.vo.special.rejectreasonvo.SpecialCargoRejectReasonCreateReqVO;
import com.cmc.cloud.cmclink.doc.vo.special.rejectreasonvo.SpecialCargoRejectReasonPageReqVO;
import com.cmc.cloud.cmclink.doc.vo.special.rejectreasonvo.SpecialCargoRejectReasonUpdateReqVO;
import com.cmes.framework.common.pojo.PageResult;

/**
 * 特种货审批长常用拒绝理由 Service 接口
 *
 * @author 集运管理员
 */
public interface SpecialCargoRejectReasonService {

    /**
     * 创建特种货审批长常用拒绝理由
     *
     * @param createReqVO 创建信息
     */
    void createSpecialCargoRejectReason(@Valid SpecialCargoRejectReasonCreateReqVO createReqVO);

    /**
     * 更新特种货审批长常用拒绝理由
     *
     * @param updateReqVO 更新信息
     */
    void updateSpecialCargoRejectReason(@Valid SpecialCargoRejectReasonUpdateReqVO updateReqVO);

    /**
     * 删除特种货审批长常用拒绝理由
     *
     * @param id 编号
     */
    void deleteSpecialCargoRejectReason(Long id);

    /**
     * 获得特种货审批长常用拒绝理由
     *
     * @param id 编号
     * @return 特种货审批长常用拒绝理由
     */
    SpecialCargoRejectReasonDO getSpecialCargoRejectReason(Long id);

    /**
     * 获得特种货审批长常用拒绝理由分页
     *
     * @param pageReqVO 分页查询
     * @return 特种货审批长常用拒绝理由分页
     */
    PageResult<SpecialCargoRejectReasonDO> getSpecialCargoRejectReasonPage(SpecialCargoRejectReasonPageReqVO pageReqVO);

}
